/**
 * 
 */
package sjtu.ist.warehouse4ws.model.file;


/**
 * @author 唐唯汉
 *
 */

public class FileImp implements File{
	private String name;
	private String path;
	private String content;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public FileImp(String name,String path)
	{
		this.name=name;
		this.path=path;
	}
	public void contentInit(){
		 //content=rm.getNodesProperty(path, "content");
	}
	public String getContent()
	{
		if(content==null)contentInit();
		return content;
	}
}
